package cn.ms.neural;

import cn.ms.neural.common.log.ILog;
import cn.ms.neural.common.log.LogFactory;

public class LogDemo {
	public static void main(String[] args) {
		// 自动选择日志实现
		ILog log = LogFactory.getBizLog();
		log.debug("This is Biz debug log");
		log.info("This is Biz info log");
		log.warn("This is Biz warn log");
		log.error("This is Biz error log");
		
		log = LogFactory.getBootLog();
		log.debug("This is Boot debug log");
		log.info("This is Boot info log");
		log.warn("This is Boot warn log");
		log.error("This is Boot error log");
		
		log = LogFactory.getErrorLog();
		log.debug("This is Error debug log");
		log.info("This is Error info log");
		log.warn("This is Error warn log");
		log.error("This is Error error log");
		
		log = LogFactory.getMetricsLog();
		log.debug("This is Metrics debug log");
		log.info("This is Metrics info log");
		log.warn("This is Metrics warn log");
		log.error("This is Metrics error log");
		
		log = LogFactory.getPerfLog();
		log.debug("This is Perf debug log");
		log.info("This is Perf info log");
		log.warn("This is Perf warn log");
		log.error("This is Perf error log");
	}
}
